<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <title>用户管理</title>
    <link rel="stylesheet" type="text/css" href="../easyui/themes/metro/easyui.css">
    <link rel="stylesheet" type="text/css" href="../easyui/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="../easyui/themes/color.css">
    <link rel="stylesheet" type="text/css" href="../easyui/demo/demo.css">
    <link rel="stylesheet" type="text/css" href="../codemirror/codemirror.css">
    <link rel="stylesheet" type="text/css" href="../codemirror/theme/monokai.css">
    <script type="text/javascript" src="../easyui/jquery.min.js"></script>
    <script type="text/javascript" src="../easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="../easyui/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="../comm.js"></script>
    <script type="text/javascript" src ="../codemirror/codemirror.js"></script>
    <script type="text/javascript" src ="../codemirror/mode/clike/clike.js"></script>
    <script type="text/javascript" src ="../codemirror/mode/javascript/javascript.js"></script>
    <script type="text/javascript" src ="../codemirror/mode/sql/sql.js"></script>
    <script type="text/javascript" src ="../codemirror/mode/python/python.js"></script>
    <script type="text/javascript" src ="../codemirror/mode/htmlmixed/htmlmixed.js"></script>
</head>
<body class="easyui-layout">
    <div region="center"  border="false">
       <div id="code-editor" style="width:100%;height:100%;"></div>
       <script>
        var editor = CodeMirror(document.getElementById('code-editor'), {
        //  value: 'import sys\nimport pyarrow.parquet as pq\ndef main():',
          mode: 'text/x-python',//'text/javascript',
          theme: 'default', // 设置为黑色主题
          lineNumbers: true, // 显示行号
          matchBrackets: true, // 括号匹配
          indentUnit: 2 // 缩进单位为两个空格
        });
        editor.setValue(" value: 'import sys\nimport pyarrow.parquet as pq\ndef main():',")
        editor.setOption("theme", "monokai"); // 更换到abcdef主题
        editor.setOption("mode","text/x-java"); // 更换到abcdef主题
      </script>
    </div>
    
</body>
</html>